{if $strUser[thems_other]==1} 
<table class="olt">
        
    {else}   
    <div class="topic_list">
<ul>
{/if}    
<!--{if $arrTopic}-->
   
<!--{loop $arrTopic $key $item}-->

     {if $strUser[thems_other]==1}       <tr>
                <td>
                         <span class="pl">
                            <!--{if $item[istop]=='1'}-->
							<img title="[置顶]" src="{SITE_URL}app/{$app}/skins/{$skin}/stick.gif">
                            <!--{/if}-->
							<!--{if $item[addtime]>strtotime(date('Y-m-d 00:00:00'))}-->
                            <img src="{SITE_URL}app/{$app}/skins/{$skin}/topic_new.gif" align="absmiddle"  width="12" title="[新帖]" alt="[新帖]" /><!--{/if}-->
                            <!--{if $item[isphoto]=='1'}-->
                            <img src="{SITE_URL}app/{$app}/skins/{$skin}/image_s.gif" title="[图片]" alt="[图片]" width="12" align="absmiddle" />
                            <!--{eif $item[isattach] == '1'}-->
							<img src="{SITE_URL}app/{$app}/skins/{$skin}/attach.gif" title="[附件]" width="12" alt="[附件]" align="absmiddle" />
                           <!--{/if}-->

                            <!--{if $item[isposts] == '1'}-->
                            <img src="{SITE_URL}public/images/posts.gif" title="[精华]" alt="[精华]"  width="12" align="absmiddle" />
                            <!--{/if}-->
                            <!--{if $item['thread_type']=='music'}-->
<img src="{SITE_URL}public/images/music.gif" align="absmiddle"  title="[音乐]" alt="[音乐]" align="absmiddle" />
<!--{/if}-->
                        </span>
                   <a title="{$item[title]}"  href="{SITE_URL}{tsUrl('group','topic',array('id'=>$item[topicid]))}" style="color:{php echo color({$item[color]})}"> {$item[title]}</a>
                </td>
                <td nowrap="nowrap" class="user"><a href="{SITE_URL}{tsUrl('group','user',array('id'=>$item[user][userid]))}" rel="face" uid="$item[userid]">{$item[user][username]}</a></td>
                <td nowrap="nowrap">{$item[count_comment]}</td>
               
                <td nowrap="nowrap" class="time">{php echo getTime($item[uptime],time())}</td>
              
            </tr>
           
   {else}
   
<li>
<div class="userimg">
<!--{if $item[user][userid] !=$arrTopic[$key-1][user][userid]}-->
<a href="{SITE_URL}{tsUrl('group','user',array('id'=>$item[user][userid]))}"><img src="{$item[user][face_32]}" width="32"></a>
<!--{else}-->
&nbsp;
<!--{/if}-->
</div>

<div class="topic_title">
<div class="title">
<a title="{$item[title]}" href="{SITE_URL}{tsUrl('group','topic',array('id'=>$item[topicid]))}"  style="color:{php echo color({$item[color]})}">{$item[title]}</a>
<!--{if $item[istop]=='1'}-->
<img src="{SITE_URL}app/{$app}/skins/{$skin}/headtopic_1.gif" title="[置顶]" alt="[置顶]" />
<!--{/if}-->
<!--{if $item[addtime]>strtotime(date('Y-m-d 00:00:00'))}-->
<img src="{SITE_URL}app/{$app}/skins/{$skin}/topic_new.gif" align="absmiddle"  title="[新帖]" alt="[新帖]" />
<!--{/if}--> 
<!--{if $item['photo']}-->
<img src="{SITE_URL}app/{$app}/skins/{$skin}/image_s.gif" title="[图片]" alt="[图片]" align="absmiddle" />
<!--{/if}--> 
<!--{if $item['attach']}-->
<img src="{SITE_URL}app/{$app}/skins/{$skin}/attach.gif" align="absmiddle" title="[附件]" alt="[附件]" />
<!--{/if}--> 
<!--{if $item['music']}-->
<img src="{SITE_URL}public/images/music.gif" align="absmiddle" title="[音乐]" alt="[音乐]" />
<!--{/if}--> 
<!--{if $item['video']}-->
<img src="{SITE_URL}public/images/video.gif" align="absmiddle" title="[视频]" alt="[视频]" />
<!--{/if}-->
<!--{if $item[isposts] == '1'}-->
<img src="{SITE_URL}public/images/posts.gif" align="absmiddle" title="[精华]" alt="[精华]" />
<!--{/if}-->
<!--{if $item['thread_type']=='music'}-->
<img src="{SITE_URL}public/images/music.gif" align="absmiddle"  title="[音乐]" alt="[音乐]" />
<!--{/if}-->
</div>

<div class="topic_info">
<span style="float:left;">
<a href="{SITE_URL}{tsUrl('group','show',array('id'=>$item[groupid]))}">{$item[group][groupname]}</a>
</span>

<span style="float:right;">
{php echo getTime($item[uptime],time())}

<a href="{SITE_URL}{tsUrl('group','user',array('id'=>$item[userid]))}" rel="face" uid="$item[userid]">{$item[user][username]}</a>

<!--{if $item[count_comment]>0}--><a class="rank" style="color:#FFFFFF;" href="{SITE_URL}{tsUrl('group','topic',array('id'=>$item[topicid]))}">{$item[count_comment]}</a><!--{/if}-->
</span>
</div>
</div>
<div class="clear"></div>

</li>	
{/if}
<!--{/loop}-->
<script>


isAjax=0;
page+=1;	

</script>
<!--{else}--><script>
$('#loading_ajax').hide();alert('没有啦');
</script><!--{/if}-->
{if $strUser[thems_other]==1}
</tbody></table>
{else}
</ul>
</div>
{/if}
